package com.dx.spring6_15.lifeTime;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {

	public static void main(String[] args) {
		
		ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("com/dx/spring6_15/lifeTime/lifeTimeApplicationContext.xml");
		
		Car car = (Car) ctx.getBean("car");
		System.out.println(car);
		
		ctx.close();		
		
	}
}
